package com.zhangtai.modules.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author czw
 * @version 1.0
 * @date 2021/3/29 11:06
 * @remark
 */
@Data
public class RelieveVo {

    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long oid;

    @ApiModelProperty("操作类型 （1：入职 2：调动 3：晋升 4：降级 5：离职 6：续签  7：变更）")
    private Integer operateType;

    @ApiModelProperty("类型 （1：新签 2：续签 3：解除 4:调动新签  5：变更）")
    private Integer type;

    @ApiModelProperty("合同类型 (1:劳动合同  3：实习合同2：退休合同 4 解除协议)")
    private String contractType;

    @ApiModelProperty(value="待支付薪资")
    private String salary;

    @ApiModelProperty(value="支付日期")
    private Date payDate;

    @ApiModelProperty(value="实际结束日期")
    private Date realEndDate ;

}
